package types

type LoginByNameAndPassWordReq struct {
	UserName string `json:"username"`
	Password string `json:"password"`
}

type AddFriendReq struct {
	UserId   uint `json:"userId"`
	TargetId uint `json:"targetId"`
}

type AddFriendByUserNameReq struct {
	UserId     uint   `json:"userId"`
	TargetName string `json:"targetName"`
}

type JoinCommunityReq struct {
	OwnerId uint   `json:"ownerId"`
	Cname   string `json:"cname"`
}

type AddNewGroupReq struct {
	OwnerId uint   `json:"ownerId"`
	Name    string `json:"name"`
	Type    int    `json:"type"`
	Img     string `json:"img,omitempty"`
	Desc    string `json:"desc,omitempty"`
}
